﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SYH178Model
{
    public class Purchase_Info
    {
        public Purchase_Info()
        { }
        #region Model
        private int _id;
        private string _title = "";
        private string _purchasename = "";
        private string _standard = "";
        private int _number = 0;
        private decimal _price = 0.00M;
        private string _pimg = "";
        private int _classify = 0;
        private string _linkman = "";
        private string _telphone = "";
        private string _mobile = "";
        private DateTime _endtime = DateTime.Now;
        private DateTime _createtime = DateTime.Now;
        private int _ptype = 0;
        private string _paddress = "";
        private string _detail = "";
        private int _userid;
        private int _status;
        /// <summary>
        /// 采购信息表 编号
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 采购标题
        /// </summary>
        public string Title
        {
            set { _title = value; }
            get { return _title; }
        }
        /// <summary>
        /// 采购产品名称
        /// </summary>
        public string PurchaseName
        {
            set { _purchasename = value; }
            get { return _purchasename; }
        }
        /// <summary>
        /// 规格
        /// </summary>
        public string Standard
        {
            set { _standard = value; }
            get { return _standard; }
        }
        /// <summary>
        /// 数量
        /// </summary>
        public int Number
        {
            set { _number = value; }
            get { return _number; }
        }
        /// <summary>
        /// 单价
        /// </summary>
        public decimal price
        {
            set { _price = value; }
            get { return _price; }
        }
        /// <summary>
        /// 采购图片
        /// </summary>
        public string PImg
        {
            set { _pimg = value; }
            get { return _pimg; }
        }
        /// <summary>
        /// 采购分类
        /// </summary>
        public int Classify
        {
            set { _classify = value; }
            get { return _classify; }
        }
        /// <summary>
        /// 联系人
        /// </summary>
        public string LinkMan
        {
            set { _linkman = value; }
            get { return _linkman; }
        }
        /// <summary>
        /// 固话
        /// </summary>
        public string TelPhone
        {
            set { _telphone = value; }
            get { return _telphone; }
        }
        /// <summary>
        /// 手机
        /// </summary>
        public string Mobile
        {
            set { _mobile = value; }
            get { return _mobile; }
        }
        /// <summary>
        /// 截止时间
        /// </summary>
        public DateTime EndTime
        {
            set { _endtime = value; }
            get { return _endtime; }
        }
        /// <summary>
        /// 采购发布时间
        /// </summary>
        public DateTime CreateTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 采购类型
        /// </summary>
        public int PType
        {
            set { _ptype = value; }
            get { return _ptype; }
        }
        /// <summary>
        /// 所在地区地区
        /// </summary>
        public string PAddress
        {
            set { _paddress = value; }
            get { return _paddress; }
        }
        /// <summary>
        /// 详细说明
        /// </summary>
        public string Detail
        {
            set { _detail = value; }
            get { return _detail; }
        }
        /// <summary>
        /// 用户编号
        /// </summary>
        public int UserId
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        ///  状态
        /// </summary>
        public int Status
        {
            set { _status = value; }
            get { return _status; }
        }
        #endregion Model
    }
}
